package com.wechat.it.isales.auth.security;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.ScopeMetadata;
import org.springframework.context.annotation.ScopeMetadataResolver;

public class WebAuthcScopeResolver implements ScopeMetadataResolver {

	private static final String WEB_AUTHC_SCOPE = "WebAuthcScope";

	@Override
	public ScopeMetadata resolveScopeMetadata(BeanDefinition definition) {
		ScopeMetadata metadata = new ScopeMetadata();
		metadata.setScopeName(WEB_AUTHC_SCOPE);
		return metadata;
	}
}
